package com.cssl.pojo;

import lombok.Getter;

@Getter
public enum ResultCodeEnum {
    SUCCESS(200,"成功"),
    FAIL(201, "失败"),
    ACCOUNT_STOP(403, "Account is Stopped"),
    LOGIN_ERROR(208,"认证失败"),
    LOGIN_MOBILE_ERROR(402, "Mobile Login Error"),
    NO_CONTENT(204, "No Content");


    private Integer code;

    private String message;

    private ResultCodeEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}

